<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<!-- 
为了让 Bootstrap 开发的网站对移动设备友好，确保适当的绘制和触屏缩放
width 属性控制设备的宽度。假设您的网站将被带有不同屏幕分辨率的设备浏览，那么将它设置为 device-width 可以确保它能正确呈现在不同设备上。
initial-scale=1.0 确保网页加载时，以 1:1 的比例呈现，不会有任何的缩放。
 -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Insert title here</title>
<!-- 引入 Bootstrap -->
<link rel="stylesheet" type="text/css" href="/static/bootstrap/css/bootstrap.min.css">
<script src="/static/bootstrap/js/bootstrap.min.js"></script>
<script type="text/javascript" src="http://cdn.static.runoob.com/libs/jquery/1.10.2/jquery.min.js"></script>
<script>
$(document).ready(function(){
  $("#admin_mgr").click(function(){
    $("#panel-element-762595").toggle();
  });
});
$(document).ready(function(){
	  $("#product_mgr").click(function(){
	    $("#panel-element-394778").toggle();
	  });
	});
</script>
</head>
<body>
<div class="container">
	<div class="row clearfix">
		<div class="col-md-12 column">
			<img alt="140x140" src="../tpl/admin/img/title.jpg" width="100%" height="140px" />
			<div class="page-header" style="text-align: right">
				 <span style="font-weight: bolder; padding: 0 5px;">欢迎您 {$adminName}</span>  
				 <small><a href="logout">退出</a></small>
			</div>
		</div>
	</div>
	<div class="row clearfix">
		<div class="col-md-3 column">
			<div class="panel-group" id="panel-334335">
				<div class="panel panel-default">
					<div class="panel-heading" id="admin_mgr">
						 <a class="panel-title" data-toggle="collapse" data-parent="#panel-334335" href="#panel-element-762595">管理员管理</a>
					</div>
					<div id="panel-element-762595" class="panel-collapse collapse in">
						<div class="panel-body">
							<a href="/ttDiary/admin/index.php?act=addAdmin">添加管理员</a>
						</div>
						<div class="panel-body">
							<a href="/ttDiary/admin/index.php?act=listAdmin">管理员列表</a>
						</div>
					</div>
				</div>
				<div class="panel panel-default">
					<div class="panel-heading" id="product_mgr">
						 <a class="panel-title" data-toggle="collapse" data-parent="#panel-334335" href="#panel-element-394778">商品管理</a>
					</div>
					<div id="panel-element-394778" class="panel-collapse collapse">
						<div class="panel-body">
							添加商品
						</div>
						<div class="panel-body">
							商品列表
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="col-md-9 column">
			<div class="alert alert-success alert-dismissable">
				 <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
				<h4>
					注意!
				</h4> <strong>Warning!</strong> Best check yo self, you're not looking too good. <a href="#" class="alert-link">alert link</a>
			</div>
			<table class="table">
				<tbody>
				    <thead>
					 <center><h3>系统信息</h3></center>
				    </thead>
					<tr>
						<th>
							操作系统
						</th>
						<td>
							{PHP_OS}
						</td>
					</tr>
					<tr class="success">
						<th>
							Apache版本
						</th>
						<td>
							{apache_get_version()}
						</td>
					</tr>
					<tr class="error">
						<th>
							PHP版本
						</th>
						<td>
							{PHP_VERSION}
						</td>
					</tr>
					<tr class="warning">
						<th>
							运行方式
						</th>
						<td>
							{PHP_SAPI}
						</td>
					</tr>
				</tbody>
			</table>
			
			<table class="table">
				<tbody>
				    <thead>
					 <center><h3>软件信息</h3></center>
				    </thead>
					<tr>
						<th>
							系统名称
						</th>
						<td>
							{$WEB_NAME}
						</td>
					</tr>
					<tr class="success">
						<th>
							开发团队
						</th>
						<td>
							{$TEAM}
						</td>
					</tr>
					<tr class="error">
						<th>
							公司网址
						</th>
						<td>
							{$ADDRESS}
						</td>
					</tr>
					<tr class="warning">
						<th>
							成功案例
						</th>
						<td>
							{$EXAMPLE}
						</td>
					</tr>
				</tbody>
			</table>
		</div>
	</div>
</div>
</body>
</html>